package com.mpyy.dao.systemSetting;

import com.mpyy.pojo.CustomerInfo;
import com.mpyy.pojo.Paging;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @PackageName:com.mpyy.dao.systemSetting
 * @ClassName:MemberDao
 * @Date:2022-03-07:11:02
 * @Author: Tang Neng
 */
@Repository("memberDao")
public interface MemberDao {
    /**查询客户信息*/
    List<CustomerInfo> searchMemberInfo(@Param("custName")String custName , @Param("paging")Paging paging);

    /**添加客户信息*/
    int updataMemberInfoAdd(CustomerInfo customerInfo);

    /**删除客户信息*/
    int updataMemberInfoDelect(String custId);

    /**修改客户信息*/
    int updataMemberInfo(CustomerInfo customerInfo);
}
